<?php 
	ini_set('display_errors', 0);
	$page=$_SERVER['REQUEST_URI'];
	//echo $page;
	if($page==$this->url('dashboard', array('action' => 'dashboard'))){
			$dashboard="active";
	}else if($page==$this->url('account', array('action' => 'account'))){
		$account="active";
	}else if($page==$this->url('call-details', array('action' => 'call-details'))){
		$callrecords="active";
	}else if($page==$this->url('settings', array('action' => 'settings'))){
		$settings="active";
	}else if($page==$this->url('payments', array('action' => 'payments'))){
		$payments="active";
	}else if($page==$this->url('usage-graph', array('action' => 'usage-graph'))){
		$usage_graph="active";
	}else if($page==$this->url('packages-1', array('action' => 'packages-1'))){
		$packages="active";
	}else if($page==$this->url('phonebook', array('action' => 'phonebook'))){
		$phonebook="active";
	}
	
?>
	<li ><a href="<?php echo $this->url('dashboard', array('action' => 'dashboard'));?>" class="<?php echo $dashboard;?>"><img src="<?php echo $this->basePath(); ?>/images/dashboard-icon.png">Dashboard</a></li>
    <li><a href="<?php echo $this->url('account', array('action' => 'account')); ?>" class="<?php echo $account;?>"><img src="<?php echo $this->basePath(); ?>/images/accounts.png">Accounts</a></li>
    <li><a href="<?php echo $this->url('call-details', array('action' => 'call-details')); ?>" class="<?php echo $callrecords;?>"><img src="<?php echo $this->basePath(); ?>/images/call-records.png">Call Records</a></li>
    <li><a href="<?php echo $this->url('settings', array('action' => 'settings')); ?>" class="<?php echo $settings;?>"><img src="<?php echo $this->basePath(); ?>/images/settings.png">Settings</a></li>
    <li><a href="<?php echo $this->url('payments', array('action' => 'payments')); ?>" class="<?php echo $payments;?>"><img src="<?php echo $this->basePath(); ?>/images/payments.png">Payments</a></li>
    <li><a href="<?php echo $this->url('usage-graph', array('action' => 'usage-graph')); ?>" class="<?php echo $usage_graph;?>"><img src="<?php echo $this->basePath(); ?>/images/usage-icon.png">Usage</a></li>
    <li><a href="<?php echo $this->url('packages-1', array('action' => 'packages-1')); ?>" class="<?php echo $packages;?>"><img src="<?php echo $this->basePath(); ?>/images/packages-icon.png">Packages</a></li>
	<!--<li><a href="<?php echo $this->url('phonebook', array('action' => 'phonebook')); ?>" class="<?php echo $phonebook;?>"><img src="<?php echo $this->basePath(); ?>/images/phonebook-icon.png">Phonebook</a></li>-->
